/**
 *
 */
package com.zhuoyue.elmt.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 维保人员备案设备信息Entity
 *
 * @author chenhao
 * @version 2016-09-11
 */
public class MaintenanceStaffDevice extends DataEntity<MaintenanceStaffDevice> {

    private static final long serialVersionUID = 1L;
    private String maintenanceStaff;        // 维保人员ID
    private String deviceCode;        // 设备代码
    private String remark;        // 备注
    private String wbdwdm;       //维保单位代码
    private String staffName;        // 姓名
    private String tzsbbh;

    public MaintenanceStaffDevice() {
        super();
    }

    public MaintenanceStaffDevice(String id) {
        super(id);
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getWbdwdm() {
        return wbdwdm;
    }

    public void setWbdwdm(String wbdwdm) {
        this.wbdwdm = wbdwdm;
    }

    @Length(min = 0, max = 20, message = "维保人员ID长度必须介于 0 和 20 之间")
    public String getMaintenanceStaff() {
        return maintenanceStaff;
    }

    public void setMaintenanceStaff(String maintenanceStaff) {
        this.maintenanceStaff = maintenanceStaff;
    }

    @Length(min = 0, max = 21, message = "设备代码长度必须介于 0 和 21 之间")
    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    @Length(min = 0, max = 254, message = "备注长度必须介于 0 和 254 之间")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTzsbbh() {
        return tzsbbh;
    }

    public void setTzsbbh(String tzsbbh) {
        this.tzsbbh = tzsbbh;
    }
}